[INFO] fetching crate system-events 0.2.0...
[INFO] fixing system-events-0.2.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate system-events 0.2.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate system-events 0.2.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate system-events 0.2.0
[INFO] tweaked toml for crates.io crate system-events 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate system-events 0.2.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate system-events 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6f2fc66e44e026392c0109812207d48807ec5349641a95d9e73650f63df3141a
[INFO] running `Command { std: "docker" "start" "6f2fc66e44e026392c0109812207d48807ec5349641a95d9e73650f63df3141a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6f2fc66e44e026392c0109812207d48807ec5349641a95d9e73650f63df3141a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f2fc66e44e026392c0109812207d48807ec5349641a95d9e73650f63df3141a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6f2fc66e44e026392c0109812207d48807ec5349641a95d9e73650f63df3141a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking system-events v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/windows.rs:5:42
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{ffi::c_void, mem::size_of, os::windows::prelude::OsStrExt, time::Duration};
[INFO] [stdout]   |                                          ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/windows.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::Foundation::HWND;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 + mod windows;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/windows.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::Foundation::LRESULT;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 + mod windows;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/windows.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::UI::WindowsAndMessaging::{
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 + mod windows;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/windows.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::UI::WindowsAndMessaging::{DEVICE_NOTIFY_WINDOW_HANDLE, MSG};
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + mod windows;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/windows.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::{
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + mod windows;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/windows.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             windows::Win32::Devices::DeviceAndDriverInstallation::GUID_DEVCLASS_WCEUSBS,
[INFO] [stdout]    |             ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + mod windows;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]    --> src/windows.rs:231:25
[INFO] [stdout]     |
[INFO] [stdout] 231 |                         windows::Win32::Devices::DeviceAndDriverInstallation::GUID_DEVCLASS_WCEUSBS => {
[INFO] [stdout]     |                         ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]    --> src/lib.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + mod windows;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]    --> src/windows.rs:235:25
[INFO] [stdout]     |
[INFO] [stdout] 235 |                         windows::Win32::System::Ioctl::GUID_DEVINTERFACE_COMPORT => match wparam.0 as u32 {
[INFO] [stdout]     |                         ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]    --> src/lib.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + mod windows;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::windows::WindowsSystemMonitor`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::windows::WindowsSystemMonitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/windows.rs:5:42
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{ffi::c_void, mem::size_of, os::windows::prelude::OsStrExt, time::Duration};
[INFO] [stdout]   |                                          ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/windows.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::Foundation::HWND;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 + mod windows;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/windows.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::Foundation::LRESULT;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 + mod windows;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/windows.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::UI::WindowsAndMessaging::{
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 + mod windows;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/windows.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::UI::WindowsAndMessaging::{DEVICE_NOTIFY_WINDOW_HANDLE, MSG};
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + mod windows;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/windows.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::{
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + mod windows;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/windows.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             windows::Win32::Devices::DeviceAndDriverInstallation::GUID_DEVCLASS_WCEUSBS,
[INFO] [stdout]    |             ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + mod windows;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]    --> src/windows.rs:231:25
[INFO] [stdout]     |
[INFO] [stdout] 231 |                         windows::Win32::Devices::DeviceAndDriverInstallation::GUID_DEVCLASS_WCEUSBS => {
[INFO] [stdout]     |                         ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]    --> src/lib.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + mod windows;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]    --> src/windows.rs:235:25
[INFO] [stdout]     |
[INFO] [stdout] 235 |                         windows::Win32::System::Ioctl::GUID_DEVINTERFACE_COMPORT => match wparam.0 as u32 {
[INFO] [stdout]     |                         ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/windows.rs, use `mod windows` in this file to declare the module
[INFO] [stdout]    --> src/lib.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + mod windows;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/windows.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |     string.as_ref().encode_wide().chain(once(0)).collect()
[INFO] [stdout]     |                     ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::windows::WindowsSystemMonitor`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::windows::WindowsSystemMonitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `system-events` (lib) due to 10 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/windows.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |     string.as_ref().encode_wide().chain(once(0)).collect()
[INFO] [stdout]     |                     ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `system-events` (lib test) due to 10 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "6f2fc66e44e026392c0109812207d48807ec5349641a95d9e73650f63df3141a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f2fc66e44e026392c0109812207d48807ec5349641a95d9e73650f63df3141a", kill_on_drop: false }`
[INFO] [stdout] 6f2fc66e44e026392c0109812207d48807ec5349641a95d9e73650f63df3141a
